package com.icebartech.core.query;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author xiaoxiong
 * @date 2018/6/27 16:00
 */
@Data
@ApiModel(value = "BaseQuery",description = "基础查询")
public class BaseQuery {
    
    @ApiModelProperty(value = "主键id",example = "主键id")
    @NotNull(message = "查询id不能为空")
    private Long id;
    
}
